/*******************************************************************************
 *
 * Copyright (c) 2001-2006 Primeton Technologies, Ltd.
 * All rights reserved.
 *
 * Created on Apr 11, 2008
 *******************************************************************************/
package com.cap.cfae.cfae.impl;

import com.cap.cfae.cfae.CfaeUserPubsen;
import com.primeton.ext.data.sdo.DataUtil;
import com.primeton.ext.data.sdo.ExtendedDataObjectImpl;

import commonj.sdo.Type;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Test</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeUserPubsenImpl#getUuid <em>Uuid</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeUserPubsenImpl#getUserid <em>Userid</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeUserPubsenImpl#getPubsenid <em>Pubsenid</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeUserPubsenImpl#getIsmyreaded <em>Ismyreaded</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeUserPubsenImpl#getIsmycare <em>Ismycare</em>}</li>
 *   <li>{@link com.cap.cfae.cfae.impl.CfaeUserPubsenImpl#getIsmycollected <em>Ismycollected</em>}</li>
 * </ul>
 * </p>
 *
 * @extends ExtendedDataObjectImpl;
 *
 * @implements CfaeUserPubsen;
 */

public class CfaeUserPubsenImpl extends ExtendedDataObjectImpl implements CfaeUserPubsen {
	/**
	 * Comment for <code>serialVersionUID</code>
	 */
	private static final long serialVersionUID = 1L;
	public final static int INDEX_UUID = 0;
	public final static int INDEX_USERID = 1;
	public final static int INDEX_PUBSENID = 2;
	public final static int INDEX_ISMYREADED = 3;
	public final static int INDEX_ISMYCARE = 4;
	public final static int INDEX_ISMYCOLLECTED = 5;
	public static final int SDO_PROPERTY_COUNT = 6;

	public static final int EXTENDED_PROPERTY_COUNT = -1;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 */
	public CfaeUserPubsenImpl() {
		this(TYPE);
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 */
	public CfaeUserPubsenImpl(Type type) {
		super(type);
	}

	protected void validate() {
		validateType(TYPE);
	}

	/**
	 * Returns the value of the '<em><b>Uuid</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Uuid</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Uuid</em>' attribute.
	 * @see #setUuid(java.lang.String)
	 */
	public String getUuid() {
		return DataUtil.toString(super.getByIndex(INDEX_UUID, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getUuid <em>Uuid</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Uuid</em>' attribute.
	 * @see #getUuid()
	 */
	public void setUuid(String uuid) {
		super.setByIndex(INDEX_UUID, uuid);
	}

	/**
	 * Returns the value of the '<em><b>Userid</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Userid</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Userid</em>' attribute.
	 * @see #setUserid(java.lang.String)
	 */
	public String getUserid() {
		return DataUtil.toString(super.getByIndex(INDEX_USERID, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getUserid <em>Userid</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Userid</em>' attribute.
	 * @see #getUserid()
	 */
	public void setUserid(String userid) {
		super.setByIndex(INDEX_USERID, userid);
	}

	/**
	 * Returns the value of the '<em><b>Pubsenid</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Pubsenid</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Pubsenid</em>' attribute.
	 * @see #setPubsenid(java.lang.String)
	 */
	public String getPubsenid() {
		return DataUtil.toString(super.getByIndex(INDEX_PUBSENID, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getPubsenid <em>Pubsenid</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Pubsenid</em>' attribute.
	 * @see #getPubsenid()
	 */
	public void setPubsenid(String pubsenid) {
		super.setByIndex(INDEX_PUBSENID, pubsenid);
	}

	/**
	 * Returns the value of the '<em><b>Ismyreaded</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ismyreaded</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ismyreaded</em>' attribute.
	 * @see #setIsmyreaded(java.lang.String)
	 */
	public String getIsmyreaded() {
		return DataUtil.toString(super.getByIndex(INDEX_ISMYREADED, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIsmyreaded <em>Ismyreaded</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Ismyreaded</em>' attribute.
	 * @see #getIsmyreaded()
	 */
	public void setIsmyreaded(String ismyreaded) {
		super.setByIndex(INDEX_ISMYREADED, ismyreaded);
	}

	/**
	 * Returns the value of the '<em><b>Ismycare</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ismycare</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ismycare</em>' attribute.
	 * @see #setIsmycare(java.lang.String)
	 */
	public String getIsmycare() {
		return DataUtil.toString(super.getByIndex(INDEX_ISMYCARE, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIsmycare <em>Ismycare</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Ismycare</em>' attribute.
	 * @see #getIsmycare()
	 */
	public void setIsmycare(String ismycare) {
		super.setByIndex(INDEX_ISMYCARE, ismycare);
	}

	/**
	 * Returns the value of the '<em><b>Ismycollected</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Ismycollected</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Ismycollected</em>' attribute.
	 * @see #setIsmycollected(java.lang.String)
	 */
	public String getIsmycollected() {
		return DataUtil.toString(super.getByIndex(INDEX_ISMYCOLLECTED, true));
	}

	/**
	 * Sets the value of the '{@link com.primeton.eos.Test#getIsmycollected <em>Ismycollected</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Ismycollected</em>' attribute.
	 * @see #getIsmycollected()
	 */
	public void setIsmycollected(String ismycollected) {
		super.setByIndex(INDEX_ISMYCOLLECTED, ismycollected);
	}


}